<?php
/**
 * 项目图片
 * @author Administrator
 *
 */
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ProjectPhoto extends Model
{
    //
	protected $table = 'project_photo';

	protected $guarded = [''];
	
	protected function getDateFormat()
    {
        return 'U';
    }

    public function user(){
    	return $this->hasOne('App\Models\User','uid','uid');
    }



}
